package com.xbongbong.admin.pojo;

import com.alibaba.fastjson.JSONArray;
import com.xbongbong.pro.enums.raiders.enums.RaidersStepEnum;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 各个步骤的参数pojo
 * @author zcp
 * @version v1.0
 * @date 19/9/19 019 20:08
 * @update 19/9/19 019 20:08
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class StepInfoPojo implements Serializable {
    private static final long serialVersionUID = 2080047737559481572L;

    /**
     * 攻略步骤类型：功能预览、适配介绍等
     * @see RaidersStepEnum
     */
    private String step;

    /**
     * 描述
     * @see RaidersStepEnum
     */
    private String instruction;
    /**
     * 标题
     */
    private String title;
    /**
     * 摘要
     */
    private String summary;
    /**
     * 按钮名称
     */
    private String button;
    /**
     * 镜像id
     */
    private Long mirrorId;
    /**
     * 镜像名称
     */
    private String mirrorName;
    /**
     * 镜像简介
     */
    private String mirrorInstruction;

    /**
     * 步骤得分
     */
    private Integer score;

    /**
     * 该步骤已得分
     */
    private Integer scored;

    /**
     * 地址链接
     */
    private JSONArray url;

    /**
     * 0未完成 1已完成
     */
    private Integer finish;

    public StepInfoPojo() {
        this.score = 0;
        this.finish = 0;
    }

    public StepInfoPojo(String step, Integer score, Integer finish) {
        this.step = step;
        this.score = score;
        this.finish = finish;
    }
}
